import * as tslib_1 from "tslib";
import { Injectable } from '@angular/core';
import { ViewModel, NgCommand } from '@farris/devkit';
import { Observable } from 'rxjs';
var TgfaQ2abComponentViewmodel = /** @class */ (function (_super) {
    tslib_1.__extends(TgfaQ2abComponentViewmodel, _super);
    function TgfaQ2abComponentViewmodel() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.bindingPath = '/tgfas';
        _this.dom = {};
        return _this;
    }
    TgfaQ2abComponentViewmodel.prototype.tgfaq2abAddFileRows = function (commandParam) { return; };
    TgfaQ2abComponentViewmodel.prototype.tgfaq2abRemoveFileRows = function (commandParam) { return; };
    tslib_1.__decorate([
        NgCommand({
            name: 'tgfaq2abAddFileRows',
            params: {
                fileInfoFieldPath: '/tgfas/fjxx'
            },
            paramDescriptions: {
                fileInfoFieldPath: { type: 'string' }
            }
        }),
        tslib_1.__metadata("design:type", Function),
        tslib_1.__metadata("design:paramtypes", [Object]),
        tslib_1.__metadata("design:returntype", Observable)
    ], TgfaQ2abComponentViewmodel.prototype, "tgfaq2abAddFileRows", null);
    tslib_1.__decorate([
        NgCommand({
            name: 'tgfaq2abRemoveFileRows',
            params: {
                fileInfoFieldPath: '/tgfas/fjxx'
            },
            paramDescriptions: {
                fileInfoFieldPath: { type: 'string' }
            }
        }),
        tslib_1.__metadata("design:type", Function),
        tslib_1.__metadata("design:paramtypes", [Object]),
        tslib_1.__metadata("design:returntype", Observable)
    ], TgfaQ2abComponentViewmodel.prototype, "tgfaq2abRemoveFileRows", null);
    TgfaQ2abComponentViewmodel = tslib_1.__decorate([
        Injectable()
    ], TgfaQ2abComponentViewmodel);
    return TgfaQ2abComponentViewmodel;
}(ViewModel));
export { TgfaQ2abComponentViewmodel };
